package com.ingrid.babySitter.controller;

import java.sql.SQLException;

import com.ingrid.babySitter.model.Baba;
import com.ingrid.babySitter.model.Cliente;
import com.ingrid.babySitter.model.Model;

public class Controller {
	private Model model;

	public void setModel(Model model) {
		this.model = model;
	}

	public void inserirBaba(Baba baba) throws SQLException {
		this.model.inserirBaba(baba);
	}

	public void inserirCliente(Cliente cliente) throws SQLException {
		this.model.inserirCliente(cliente);
	}

}
